package com.rytx.system.service;

import com.alipay.api.AlipayApiException;
import com.alipay.api.response.AlipaySystemOauthTokenResponse;
import com.alipay.api.response.AlipayUserInfoShareResponse;
import com.rytx.common.config.MyAliPayConfig;

public interface IAliRepService {
    public AlipaySystemOauthTokenResponse getAlipayOAuthToken(String code, MyAliPayConfig config) throws AlipayApiException;
    public String getUserInfo(AlipaySystemOauthTokenResponse response) throws AlipayApiException;
}
